/*
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html
 * Software distributed under the License  is  distributed  on  an 'AS IS'
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License.
 * The Original Code is Openbravo ERP.
 * The Initial Developer of the Original Code is Openbravo SLU
 * All portions are Copyright (C) 2010-2014 Openbravo SLU
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
 ************************************************************************
*/


/* OBToolbar */

.OBToolbar {
  background: url(./images/toolbar/toolbar-bg.png) repeat-x left top;
}

/* OBToolbarIconButton */

.OBToolbarIconButton,
.OBToolbarIconButtonOver,
.OBToolbarIconButtonDown,
.OBToolbarIconButtonFocused,
.OBToolbarIconButtonFocusedOver,
.OBToolbarIconButtonFocusedDown,
.OBToolbarIconButtonSelected,
.OBToolbarIconButtonSelectedOver,
.OBToolbarIconButtonSelectedDown,
.OBToolbarIconButtonSelectedFocused,
.OBToolbarIconButtonSelectedFocusedOver,
.OBToolbarIconButtonSelectedFocusedDown,
.OBToolbarIconButtonSelectedDisabled,
.OBToolbarIconButtonDisabled {
  /* color: transparent; */
  font-size:smaller;
  margin-bottom:10px;
  color: #ffffff;
}

.OBToolbarIconButton {
  border: 1px solid #64932d !important;
}

.OBToolbarIconButtonDisabledProgress {
  border: 1px solid #64932d;
}

.OBToolbarIconButtonFocused,
.OBToolbarIconButtonFocusedOver,
.OBToolbarIconButtonFocusedDown,
.OBToolbarIconButtonSelectedFocused,
.OBToolbarIconButtonSelectedFocusedOver,
.OBToolbarIconButtonSelectedFocusedDown {
  border: 1px solid #FA962F !important;
}

.OBToolbarIconButtonOver,
.OBToolbarIconButtonFocusedOver,
.OBToolbarIconButtonSelectedOver,
.OBToolbarIconButtonSelectedFocusedOver {
  background-color: #3a6b01;
 }

.OBToolbarIconButtonOver,
.OBToolbarIconButtonSelectedOver {
  border: 1px solid #74a23f !important;
}

.OBToolbarIconButtonSelected,
.OBToolbarIconButtonSelectedFocused,
.OBToolbarIconButtonDown,
.OBToolbarIconButtonFocusedDown,
.OBToolbarIconButtonSelectedDown,
.OBToolbarIconButtonSelectedFocusedDown {
  background-color: #2C4E00;
}

.OBToolbarIconButtonSelected,
.OBToolbarIconButtonDown,
.OBToolbarIconButtonSelectedDown {
  border: 1px solid #74a23f !important;
}

.OBToolbarIconButtonDisabled,
.OBToolbarIconButtonSelectedDisabled {
  border: 1px solid #96C55F;
  opacity: 0.2;
  filter:alpha(opacity=20);  /* Hack to set opacity in IE7/8 */
}

html[data-useragent*=' Edge/'] .OBToolbarIconButtonDisabled,
html[data-useragent*=' Edge/'] .OBToolbarIconButtonSelectedDisabled {
  /* Hack to apply the border transparency in MS Edge */
  border: 1px solid rgba(150, 197, 95, .2);
  opacity: 0.2;
}

.OBToolbarIconButtonMenu {
  padding: 10px 1px 0px 0px !important;
  width: 23px;  /* Hack to avoid an IE7/8 off-center */
}

.OBToolbarIconButton_icon_newDoc {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-newdoc.png);
}

.OBToolbarIconButton_icon_newRow {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-newrow.png);
}

.OBToolbarIconButton_icon_save {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-save.png);
}

.OBToolbarIconButton_icon_saveclose {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-saveclose.png);
}

.OBToolbarIconButton_icon_savecloseX {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-savecloseX.png);
}

.OBToolbarIconButton_icon_link {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-link.png);
}

.OBToolbarIconButton_icon_createCopy {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-createcopy.png);
}

.OBToolbarIconButton_icon_eliminate {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-eliminate.png);
}

.OBToolbarIconButton_icon_export {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-export.png);
}

.OBToolbarIconButton_icon_import {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-import.png);
}
.OBToolbarIconButton_icon_email {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-email.png);
}

.OBToolbarIconButton_icon_print {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-print.png);
}

.OBToolbarIconButton_icon_undo {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-undo.png);
}

.OBToolbarIconButton_icon_redo {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-redo.png);
}

.OBToolbarIconButton_icon_saveView {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-saveview.png);
}

.OBToolbarIconButton_icon_saveProgress {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-progress.gif);  /* Generated @ http://www.ajaxload.info/ */ /* Indicator type: 'Snake' - Background color: #64932D - Transparent background - Foreground color: #FFFFFF */
}

.OBToolbarIconButton_icon_sum {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-sum.png);
}

.OBToolbarIconButton_icon_splitView {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-splitview.png);
}

.OBToolbarIconButton_icon_audit {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-audit.png);
}

.OBToolbarIconButton_icon_attach {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-attach.png);
}

.OBToolbarIconButton_icon_attachExists {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-attach-box.png);
}

.OBToolbarIconButton_icon_attachProgress {
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url(./images/toolbar/iconButton-progress.gif);  /* Generated @ http://www.ajaxload.info/ */ /* Indicator type: 'Snake' - Background color: #64932D - Transparent background - Foreground color: #FFFFFF */
}

.OBToolbarIconButton_icon_attachExistsProgress {
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url(./images/toolbar/iconButton-progress.gif);  /* Generated @ http://www.ajaxload.info/ */ /* Indicator type: 'Snake' - Background color: #64932D - Transparent background - Foreground color: #FFFFFF */
}

.OBToolbarIconButton_icon_innerJoin {
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url(./images/toolbar/iconButton-innerjoin.png);
}

.OBToolbarIconButton_icon_outerJoin {
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url(./images/toolbar/iconButton-outerjoin.png);
}

.OBToolbarIconButton_icon_favourites {
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url(./images/toolbar/iconButton-fav.png);
}

.OBToolbarIconButton_icon_refresh {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-refresh.png);
}

.OBToolbarIconButton_icon_tree {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-tree.png);
}

.OBToolbarIconButton_icon_treeGrid {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-tree.png);
}

.OBToolbarIconButton_icon_clone {
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url(./images/toolbar/iconButton-clone.png);
}

/* OBToolbarTextButton */

.OBToolbarTextButton,
.OBToolbarTextButtonOver,
.OBToolbarTextButtonDown,
.OBToolbarTextButtonFocused,
.OBToolbarTextButtonFocusedOver,
.OBToolbarTextButtonFocusedDown,
.OBToolbarTextButtonSelected,
.OBToolbarTextButtonSelectedOver,
.OBToolbarTextButtonSelectedDown,
.OBToolbarTextButtonSelectedFocused,
.OBToolbarTextButtonSelectedFocusedOver,
.OBToolbarTextButtonSelectedFocusedDown,
.OBToolbarTextButtonDisabled,
.OBToolbarTextButtonSelectedDisabled,

.OBToolbarTextButtonParent,
.OBToolbarTextButtonParentOver,
.OBToolbarTextButtonParentDown,
.OBToolbarTextButtonParentFocused,
.OBToolbarTextButtonParentFocusedOver,
.OBToolbarTextButtonParentFocusedDown,
.OBToolbarTextButtonParentSelected,
.OBToolbarTextButtonParentSelectedOver,
.OBToolbarTextButtonParentSelectedDown,
.OBToolbarTextButtonParentSelectedFocused,
.OBToolbarTextButtonParentSelectedFocusedOver,
.OBToolbarTextButtonParentSelectedFocusedDown,
.OBToolbarTextButtonParentDisabled,
.OBToolbarTextButtonParentSelectedDisabled {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-image: url(./images/toolbar/textButton-bg-normal.png);
    background-position: left top;
    background-repeat: no-repeat;
    color: #000000;
    font-size: 9pt;
    font-family: 'lucida sans', sans-serif;
}

.OBToolbarTextButton,
.OBToolbarTextButtonOver,
.OBToolbarTextButtonDown,
.OBToolbarTextButtonSelected,
.OBToolbarTextButtonSelectedOver,
.OBToolbarTextButtonSelectedDown {
  border: 2px solid #efefef;
}

.OBToolbarTextButtonParent,
.OBToolbarTextButtonParentOver,
.OBToolbarTextButtonParentDown,
.OBToolbarTextButtonParentSelected,
.OBToolbarTextButtonParentSelectedOver,
.OBToolbarTextButtonParentSelectedDown {
  border: 2px solid #63952b;
}

.OBToolbarTextButtonFocused,
.OBToolbarTextButtonFocusedOver,
.OBToolbarTextButtonFocusedDown,
.OBToolbarTextButtonSelectedFocused,
.OBToolbarTextButtonSelectedFocusedOver,
.OBToolbarTextButtonSelectedFocusedDown,

.OBToolbarTextButtonParentFocused,
.OBToolbarTextButtonParentFocusedOver,
.OBToolbarTextButtonParentFocusedDown,
.OBToolbarTextButtonParentSelectedFocused,
.OBToolbarTextButtonParentSelectedFocusedOver,
.OBToolbarTextButtonParentSelectedFocusedDown {
  border: 2px solid #FA962F;
}

.OBToolbarTextButtonOver,
.OBToolbarTextButtonSelectedOver,
.OBToolbarTextButtonFocusedOver,
.OBToolbarTextButtonSelectedFocusedOver,

.OBToolbarTextButtonParentOver,
.OBToolbarTextButtonParentSelectedOver,
.OBToolbarTextButtonParentFocusedOver,
.OBToolbarTextButtonParentSelectedFocusedOver {
  background-image: url(./images/toolbar/textButton-bg-hover.png);
}

.OBToolbarTextButtonSelected,
.OBToolbarTextButtonSelectedFocused,
.OBToolbarTextButtonDown,
.OBToolbarTextButtonFocusedDown,
.OBToolbarTextButtonSelectedDown,
.OBToolbarTextButtonSelectedFocusedDown,

.OBToolbarTextButtonParentSelected,
.OBToolbarTextButtonParentSelectedFocused,
.OBToolbarTextButtonParentDown,
.OBToolbarTextButtonParentFocusedDown,
.OBToolbarTextButtonParentSelectedDown,
.OBToolbarTextButtonParentSelectedFocusedDown {
  background-image: url(./images/toolbar/textButton-bg-down.png);
  background-position: left bottom;
}

.OBToolbarTextButtonDisabled,
.OBToolbarTextButtonSelectedDisabled,

.OBToolbarTextButtonParentDisabled,
.OBToolbarTextButtonParentSelectedDisabled {
  color: #777;
  background-image: url(./images/toolbar/textButton-bg-disabled.png);
}